package com.yz.xyt.mapper;

import com.yz.xyt.domain.Dorm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DormMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Dorm record);

    int insertSelective(Dorm record);

    Dorm selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Dorm record);

    int updateByPrimaryKey(Dorm record);

    Dorm selectByDormNumber(@Param("dormNumber") String dormNumber);

    int updateByDormNumberSelective(Dorm record);

    void deleteByDormNumber(@Param("dormNumber") String dormNumber);
}